<template>
	<view class="content">
	<navbar :isHome="true"></navbar>	
	<view style="margin-top: 160rpx;">
		<view class="weui-cell" style="background: #fff9eb;display: flex;flex-direction: row;"> 
		<view class="weui-cell_hd">
			<image src="/static/resource/images/ic_myapp.png" style="display: block;width: 40rpx;height: 40rpx;margin-right: 14rpx;"></image>
		</view>
		<view class="weui-cell_bd">
			<text style="color: #be9719;font-size: 13px;">点击右上角"添加到我的小程序"，方便下次找到！</text>
		</view>
		<view class="weui-cell_ft">
			<image src="/static/resource/images/modal_closer.png" style="display: block;width: 40rpx;height: 40rpx;margin-right: 14rpx;"></image>
		</view>
		
		</view>
	
	</view>
	</view>
</template>

<script setup>
	import  aComponent  from '../../../project/component/component.vue';
	
	import{ref,reactive,computed} from 'vue'
	import{onLoad} from '@dcloudio/uni-app'
	const data=ref("动态数组")
	const title=ref('Hello')
	const list=reactive([
		{name:'apple',num:1},
		{name:'orange',num:2},
		{name:'banana',num:3}
	])
	const handleClick=()=>{
		list.forEach(item=>{
			item.num++
		})
	}
	const changeData=(val)=>{
		data.value=val
	}
	onLoad(()=>{
		console.log('onLode生命周期')
	})
	const totalNum=computed(()=>{
		return list.reduce((total,cur)=>total+cur.num,0)
	})
	const navigateTo=()=>{
		console.log(1111)
		uni.navigateTo({
			
			url:'/pages/search/index'
		})	
	}
	
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
	
</style>
